func go/types.isBoolean
5 uses
go/types (current package)
builtins.go#L876: if x.mode != constant_ || !isBoolean(x.typ) {
const.go#L202: case isBoolean(typ):
expr.go#L386: if !isBoolean(target) {
predicates.go#L24: func isBoolean(t Type) bool { return isBasic(t, IsBoolean) }
stmt.go#L1083: if cb.Results().Len() == 1 && isBoolean(cb.Results().At(0).Type()) {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)